package com.ruoyi.leave.mapper;

import java.util.List;
import com.ruoyi.leave.domain.HrLeaveApplication;

/**
 * 请假申请Mapper接口
 * 
 * @author gy
 * @date 2025-05-20
 */
public interface HrLeaveApplicationMapper 
{
    /**
     * 查询请假申请
     * 
     * @param id 请假申请主键
     * @return 请假申请
     */
    public HrLeaveApplication selectHrLeaveApplicationById(Long id);

    /**
     * 查询请假申请列表
     * 
     * @param hrLeaveApplication 请假申请
     * @return 请假申请集合
     */
    public List<HrLeaveApplication> selectHrLeaveApplicationList(HrLeaveApplication hrLeaveApplication);

    /**
     * 新增请假申请
     * 
     * @param hrLeaveApplication 请假申请
     * @return 结果
     */
    public int insertHrLeaveApplication(HrLeaveApplication hrLeaveApplication);

    /**
     * 修改请假申请
     * 
     * @param hrLeaveApplication 请假申请
     * @return 结果
     */
    public int updateHrLeaveApplication(HrLeaveApplication hrLeaveApplication);

    /**
     * 删除请假申请
     * 
     * @param id 请假申请主键
     * @return 结果
     */
    public int deleteHrLeaveApplicationById(Long id);

    /**
     * 批量删除请假申请
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHrLeaveApplicationByIds(Long[] ids);
}
